package com.invengo.device;

import com.invengo.lib.system.device.type.DeviceType;
import com.invengo.uhf.RfidReader;

public abstract class AbstractReader {

    private boolean connected;
    private static final String readerName = "HandsetRfid";
    private RfidReader rfidReader;
    private int mChannelType;
    private DeviceType deviceType = DeviceType.XC2600;

    public boolean isConnected() {
        return connected;
    }
    public void setConnected(boolean connected) {
        this.connected = connected;
    }
    public String getReaderName() {
        return readerName;
    }
    public RfidReader getRfidReader() {
        return rfidReader;
    }
    public void setRfidReader(RfidReader rfidReader) {
        this.rfidReader = rfidReader;
    }
    public int getChannelType() {
        return mChannelType;
    }
    public void setChannelType(int mChannelType) {
        this.mChannelType = mChannelType;
    }
    public DeviceType getDeviceType() {
        return deviceType;
    }
    public void setDeviceType(DeviceType deviceType) {
        this.deviceType = deviceType;
    }

    public abstract boolean connect();
    public abstract void disconnect();
}
